//
// Created by tan90 on 25-4-27.
//

#include <stdio.h>
#include <string.h>

int main() {

    short *s_pointer = NULL;
    printf("s_pointer %p\n", s_pointer);

    int a = 10;

    int *i_pointer = &a;

    printf("&a %p\n", &a);
    printf("i_pointer %p\n", i_pointer);
    printf("i_pointer %p\n", i_pointer+1);
    // printf("*i_pointer %d\n", *i_pointer);
    // printf("&i_pointer %p\n", &i_pointer);
    printf("-------------------");
    char a1 = 'a';
    char *p1 = &a1;
    printf("p1 %p\n", p1);
    printf("p1+1 %p\n", p1 + 1);

    int b=10, *bp;
    bp = &b;
    printf("%d\n",b);
    scanf("%d",bp);
    printf("%d\n",*bp);
}
